const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://118.25.146.173:5004',
        // 后端需要/api,所以不用重写 pathRewrite
        logLevel: 'debug',
        logProvider: () => console
      }
    }
  }
})
